package com.zzcm.channelinfo.appmanager;

public class AppInfo {
	private String appUniqueKey;//应用唯一标识，或安装路径，或包名
	private boolean root;//是否使用ROOT权限进行安装
	private boolean delete;//安装完成之后，是否将源安装包删掉
	private int location;//默认安装位置 0为系统自动，1为手机内部存储，2为SD卡
	public AppInfo() {
	}
	public AppInfo(String appUniqueKey,boolean root) {
		this.appUniqueKey = appUniqueKey;
		this.root = root;
	}
	public AppInfo(String appUniqueKey,boolean root,boolean delete,int location) {
		this.appUniqueKey = appUniqueKey;
		this.root = root;
		this.delete = delete;
		this.location = location;
	}
	public String getAppUniqueKey() {
		return appUniqueKey;
	}
	public void setAppUniqueKey(String appUniqueKey) {
		this.appUniqueKey = appUniqueKey;
	}
	public boolean isRoot() {
		return root;
	}
	public void setRoot(boolean root) {
		this.root = root;
	}
	public boolean isDelete() {
		return delete;
	}
	public void setDelete(boolean delete) {
		this.delete = delete;
	}
	public int getLocation() {
		return location;
	}
	public void setLocation(int location) {
		this.location = location;
	}
	
}
